import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../services/http-client.service';

@Injectable()
export class EnclosureService {

  constructor(
    public httpClient: HttpClientService
  ) { }
  //查询产品文档分页列表
  listComprehensive(getBody) {
    return this.httpClient.post('/pms/v1/pension/attach/attachListPage', getBody);
  }
  // 附件类型查询条件
  getAttachConf() {
    return this.httpClient.get('/pms/v1/common/productDoc/getAttachTypeTree?sFundType=4');
  }
  //查询--受托人附件查询
  list(getBody) {
    return this.httpClient.get('/pms/v1/pension/attach/pensionDeptAttachListPage', getBody);
  }
  // 获取备案机构、受托人、托管人下拉框值
  getDictionary() {
    return this.httpClient.get('/pms/v1/common/dict/getStrustee?sFundType=4');
  }
}
